package com.sinoglobal.sinostore.bean;

/**
 * 
* @title: OrderVo.java 
* @package com.chiliring.sinostore.bean 
* @description: TODO(用一句话描述该文件做什么) 
* @author zrh
* @date 2015年1月15日 下午3:09:17
* 
* {
json:
[{
  id:***;  //订单id
  status:***;  // 订单状态：1=未付款  2=未发货+未领取（支付完成） 3=已发货 4=已收货+已领取（待评价） 5=已完成（评价过的） 6=已取消（指退款的订单） 7=已过期 8 已关闭（已关闭包含a，退款成功的 b，未付款取消的订单）
  order_num:***;  //订单编号
  create_time:***; //订单创建时间
  user_name:***;  //会员账号
  img_url//商品图片
  user_id:***;  //用户id
  p_id:***;  //产品id
  shop_id:***;  //商家id
  draw_type:1;   //领取方式  1自取  2快递
  goods_nums:***;  //商品数量
  goods_name:***;  //商品名
  spending:100 //订单总价格
  price:100        //商品原价
  discount:0.8     //商品折扣
goods_id:11      //商品ID
  invite :123123    //快递和自取的最后收货（领取）时间
  spending_total:100   // 订单总花费
},]
pageNum：//返回的总页数

"code":0      //返回code  0成功 1失败 3缺少参数
"message":""  //返回信息提示
}
 */
public class OrderVo extends BaseVo{
	
	private String id; // 订单id
	private String status; // 订单状态 1=未付款|2=未发货|3=未领取|4=取消|5=过期|6=完成|7=已评价|8=待收货
	private String order_num; // 订单编号
	private String create_time; // 订单创建时间
	private String user_name; // 会员账号
	private String user_id; // 用户id
	private String p_id; // 产品id
	private String shop_id; // 商家id
	private String draw_type; // 领取方式 1自取 2快递
	private String goods_nums; // 商品数量
	private String goods_name; // 商品名
	private String spending_total; // 订单总价格
	private String discount; // 商品折扣
	private String img_url;//商品图片
	private String end_receipt; //自动确认收货时间
	private String goods_id;//商品id
	private String cash_pay_total;//现金总价
	private String price_pay; //积分实际单价
	private String cash_pay;    //现金实际单价
	private String freight;//运费
	private String invite;//剩余天数
	private String type;//1 为虚拟商品
	private String use_start_time;//虚拟商品使用开始时间
	private String use_end_time;//虚拟商品使用结束时间
	
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getUse_start_time() {
		return use_start_time;
	}
	public void setUse_start_time(String use_start_time) {
		this.use_start_time = use_start_time;
	}
	public String getUse_end_time() {
		return use_end_time;
	}
	public void setUse_end_time(String use_end_time) {
		this.use_end_time = use_end_time;
	}
	public String getFreight() {
		return freight;
	}
	public void setFreight(String freight) {
		this.freight = freight;
	}
	public String getSpending_total() {
		return spending_total;
	}
	public void setSpending_total(String spending_total) {
		this.spending_total = spending_total;
	}
	public String getInvite() {
		return invite;
	}
	public void setInvite(String invite) {
		this.invite = invite;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getOrder_num() {
		return order_num;
	}
	public void setOrder_num(String order_num) {
		this.order_num = order_num;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getP_id() {
		return p_id;
	}
	public void setP_id(String p_id) {
		this.p_id = p_id;
	}
	public String getShop_id() {
		return shop_id;
	}
	public void setShop_id(String shop_id) {
		this.shop_id = shop_id;
	}
	public String getDraw_type() {
		return draw_type;
	}
	public void setDraw_type(String draw_type) {
		this.draw_type = draw_type;
	}
	public String getGoods_nums() {
		return goods_nums;
	}
	public void setGoods_nums(String goods_nums) {
		this.goods_nums = goods_nums;
	}
	public String getGoods_name() {
		return goods_name;
	}
	public void setGoods_name(String goods_name) {
		this.goods_name = goods_name;
	}
	public String getDiscount() {
		return discount;
	}
	public void setDiscount(String discount) {
		this.discount = discount;
	}
	public String getImg_url() {
		return img_url;
	}
	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}
	
	public String getEnd_receipt() {
		return end_receipt;
	}
	public void setEnd_receipt(String end_receipt) {
		this.end_receipt = end_receipt;
	}
	public String getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(String goods_id) {
		this.goods_id = goods_id;
	}
	public String getCash_pay_total() {
		return cash_pay_total;
	}
	public void setCash_pay_total(String cash_pay_total) {
		this.cash_pay_total = cash_pay_total;
	}
	public String getPrice_pay() {
		return price_pay;
	}
	public void setPrice_pay(String price_pay) {
		this.price_pay = price_pay;
	}
	public String getCash_pay() {
		return cash_pay;
	}
	public void setCash_pay(String cash_pay) {
		this.cash_pay = cash_pay;
	}


}
